/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: AcountService
 * Author:   pc
 * Date:     2019/9/18 16:54
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.example.rabbitmqdemo.service;

import org.springframework.scheduling.annotation.Async;

/**
 * 〈功能：〉<br> 
 * 〈取钱存钱锁〉
 * @author liuhaoran
 * @create 2019/9/18 16:54
 * @since 1.0.0
 */
public interface AcountService {
	/**
	 * 存钱
	 * @param money
	 */
	public void addAcount(String name,int money);

	/**
	 * 取钱
	 * @param money
	 */
	public void subAcount(String name,int money);


	/**
	 * 查询余额
	 */
	public void SelectAcount(String name);

	/**
	 *测试ABCD
	 */
	public void asynctest1();
	public void asynctest2();
	public void asynctest3();
	public void asynctest4();
}